<template>
	<view class="title">
		<view class="left"><text>{{title1}}</text></view>
		<view class="right" @click="$emit('clickTitle')" ><text>{{title2}}</text></view>
	</view>
</template>

<script>
	export default {
		name:"indexTitle",
		props:['title1','title2'],
		data() {
			return {
				
			}
		},
		
	}
</script>

<style lang="scss"	scoped>
	.title{
		margin: 0 auto;
		width:710rpx;
		display: flex;	
		justify-content: space-between;
		margin-top: 25rpx;
	}
	.left{
		font-weight: bold;
		font-size: 30rpx;
		color: #333333;
	}
	.right {
		font-size: 20rpx;
		color: #5C78FF;
	}
</style>